﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace AuthenticationLibrary
{
    [ServiceContract]
    public interface IAuthenticationService
    {
        [OperationContract]
        bool IsUserExist(String email, String password);

        [OperationContract]
        List<String> GetUserIdentifier(string question, string answer);

        [OperationContract]
        bool TryToRestoreUser(String question, String answer);

        [OperationContract]
        bool RegisterUser(String email, String password, String question, String answer);
    }
}
